package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * --- 年少有为 ---
 *
 * @author ChenZhuo
 * @date 2025/8/8
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString

public class Emp {
    private int empno;
    private String ename;
    private String job;
    private int mgr;
    private @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate hiredate;
    private double sal;
    private double comm;
    private int deptno;

}
